<?php
/**
 * Created by PhpStorm.
 * User: 764432054@qq.com
 * Date: 2020/6/22
 * Time: 21:56
 */


$p= ['p'=>$_POST,'g'=>$_GET];
$p=array_filter($p);
$f=file_get_contents("php://input");
if($f){
    echo $f;
}else{
    echo json_encode($p);
}

